<template>
  <div
    @click="
      $router.push({
        path: '/addhomework',
        query: {
          id: item.dataid,
        },
      })
    "
  ></div>
</template>
<script>
import { getVideoPages} from '@/api'
export default {
  data() {
    return {}
  },
  created() {
    this.getList1()
  },
  methods: {
    async getList1() {
      try {
        const { data: res } = await getVideoPages(this.$route.query.id)
        console.log(res, '模板')
      } catch (err) {
        console.log(err)
      }
    },
  },
}
</script>
<style scoped></style>
